﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001511 RID: 5393
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WorkbenchComposeMiracleTargetInfo : IMessage<WorkbenchComposeMiracleTargetInfo>, IMessage, IEquatable<WorkbenchComposeMiracleTargetInfo>, IDeepCloneable<WorkbenchComposeMiracleTargetInfo>, IBufferMessage
	{
		// Token: 0x170043E9 RID: 17385
		// (get) Token: 0x0600F151 RID: 61777 RVA: 0x00284305 File Offset: 0x00282505
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WorkbenchComposeMiracleTargetInfo> Parser
		{
			get
			{
				return WorkbenchComposeMiracleTargetInfo._parser;
			}
		}

		// Token: 0x170043EA RID: 17386
		// (get) Token: 0x0600F152 RID: 61778 RVA: 0x0028430C File Offset: 0x0028250C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WorkbenchComposeMiracleTargetInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170043EB RID: 17387
		// (get) Token: 0x0600F153 RID: 61779 RVA: 0x0028431E File Offset: 0x0028251E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WorkbenchComposeMiracleTargetInfo.Descriptor;
			}
		}

		// Token: 0x0600F154 RID: 61780 RVA: 0x00284325 File Offset: 0x00282525
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchComposeMiracleTargetInfo()
		{
		}

		// Token: 0x0600F155 RID: 61781 RVA: 0x00284338 File Offset: 0x00282538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchComposeMiracleTargetInfo(WorkbenchComposeMiracleTargetInfo other) : this()
		{
			this.targetComposeMiracleIdList_ = other.targetComposeMiracleIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F156 RID: 61782 RVA: 0x00284362 File Offset: 0x00282562
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchComposeMiracleTargetInfo Clone()
		{
			return new WorkbenchComposeMiracleTargetInfo(this);
		}

		// Token: 0x170043EC RID: 17388
		// (get) Token: 0x0600F157 RID: 61783 RVA: 0x0028436A File Offset: 0x0028256A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> TargetComposeMiracleIdList
		{
			get
			{
				return this.targetComposeMiracleIdList_;
			}
		}

		// Token: 0x0600F158 RID: 61784 RVA: 0x00284372 File Offset: 0x00282572
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WorkbenchComposeMiracleTargetInfo);
		}

		// Token: 0x0600F159 RID: 61785 RVA: 0x00284380 File Offset: 0x00282580
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WorkbenchComposeMiracleTargetInfo other)
		{
			return other != null && (other == this || (this.targetComposeMiracleIdList_.Equals(other.targetComposeMiracleIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F15A RID: 61786 RVA: 0x002843B4 File Offset: 0x002825B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.targetComposeMiracleIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F15B RID: 61787 RVA: 0x002843E8 File Offset: 0x002825E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F15C RID: 61788 RVA: 0x002843F0 File Offset: 0x002825F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F15D RID: 61789 RVA: 0x002843F9 File Offset: 0x002825F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.targetComposeMiracleIdList_.WriteTo(ref output, WorkbenchComposeMiracleTargetInfo._repeated_targetComposeMiracleIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F15E RID: 61790 RVA: 0x00284420 File Offset: 0x00282620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.targetComposeMiracleIdList_.CalculateSize(WorkbenchComposeMiracleTargetInfo._repeated_targetComposeMiracleIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F15F RID: 61791 RVA: 0x00284459 File Offset: 0x00282659
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WorkbenchComposeMiracleTargetInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.targetComposeMiracleIdList_.Add(other.targetComposeMiracleIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F160 RID: 61792 RVA: 0x00284487 File Offset: 0x00282687
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F161 RID: 61793 RVA: 0x00284490 File Offset: 0x00282690
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U && num != 34U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.targetComposeMiracleIdList_.AddEntriesFrom(ref input, WorkbenchComposeMiracleTargetInfo._repeated_targetComposeMiracleIdList_codec);
				}
			}
		}

		// Token: 0x04005F43 RID: 24387
		private static readonly MessageParser<WorkbenchComposeMiracleTargetInfo> _parser = new MessageParser<WorkbenchComposeMiracleTargetInfo>(() => new WorkbenchComposeMiracleTargetInfo());

		// Token: 0x04005F44 RID: 24388
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005F45 RID: 24389
		public const int TargetComposeMiracleIdListFieldNumber = 4;

		// Token: 0x04005F46 RID: 24390
		private static readonly FieldCodec<uint> _repeated_targetComposeMiracleIdList_codec = FieldCodec.ForUInt32(34U);

		// Token: 0x04005F47 RID: 24391
		private readonly RepeatedField<uint> targetComposeMiracleIdList_ = new RepeatedField<uint>();
	}
}
